package com.zhuoyue.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zhuoyue.common.annotation.Excel;
import com.zhuoyue.common.core.domain.BaseEntity;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;


/**
 * @author zhanghui
 */
@Data
public class TblAppUserLoginLog extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String id;
    private String userId;

    @Excel(name = "手机号")
    private String account;

    @Excel(name = "手机类型", readConverterExp = "1=IOS,2=安卓")
    private Integer sourceType;

    @Excel(name = "所属组织")
    private String deptName;
    private String orgCode;
    private String sourceId;
    private String orderByLoginTime;
    @Excel(name = "登录时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date loginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifyTime;
    private Long deptId;
}
